package com.situ.model;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.situ.utils.AuditEntity;
import lombok.Getter;
import lombok.Setter;

/**
 * 用户地址模型
 */
@Setter
@Getter
@TableName("user_address")
public class UserAddress extends AuditEntity {
    @TableId(type = IdType.AUTO)
    private Integer id; //用户地址id

    private Integer userId; //用户id

    private String consignee; //收货人姓名

    private String phone; //手机号码

    private String province; //省份

    private String city; //城市

    private String district; //区县

    private String addressDetail; //详细地址

    private Integer isDefault; //是否默认地址 (1：是  0：否)
}
